<?php

include_once 'Classes/DBConnection.class.php';

$db = new DBConnection();
$query_RecUsers = " SELECT * 
                    FROM girls
                    WHERE girlsColor LIKE  '%".$_POST['color']."%'
                            ";
$RecUsers = mysql_query($query_RecUsers, $db->connectDatabase()) or die(mysql_error());
//$row_RecUsers = mysql_fetch_assoc($RecUsers);
$totalRows_RecUsers = mysql_num_rows($RecUsers);
?>

<?php while ($row_RecUsers = mysql_fetch_assoc($RecUsers)) {?>

<img src="img/<?php print $row_RecUsers['img'];?>" width="219" height="230" />

<?php }?>
